package com.posti.ciudaddelbache.web.dto;

import com.posti.core.geocoding.GeocodingLocation;

public class GeocodingLocationDTO {

  private double latitude;
  private double longitude;
  private String neighbourhood;
  private String streetName;
  private String streetNumber;
  private Long id;

  public GeocodingLocationDTO(GeocodingLocation location) {
    latitude = location.getLatitude();
    longitude = location.getLongitude();
    neighbourhood = location.getNeighbourhood();
    streetName = location.getStreetName();
    streetNumber = location.getStreetNumber();
    id = location.getId();
  }

  public double getLatitude() {
    return latitude;
  }

  public void setLatitude(double latitude) {
    this.latitude = latitude;
  }

  public double getLongitude() {
    return longitude;
  }

  public void setLongitude(double longitude) {
    this.longitude = longitude;
  }

  public String getNeighbourhood() {
    return neighbourhood;
  }

  public void setNeighbourhood(String neighbourhood) {
    this.neighbourhood = neighbourhood;
  }

  public String getStreetName() {
    return streetName;
  }

  public void setStreetName(String streetName) {
    this.streetName = streetName;
  }

  public String getStreetNumber() {
    return streetNumber;
  }

  public void setStreetNumber(String streetNumber) {
    this.streetNumber = streetNumber;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }
}
